package b4.view.component.system
{
	import b4.util.Resource;
	import b4.view.component.basic.BasicWidget;

	import flash.filters.*;
	import flash.text.*;

	public class LocationPane extends BasicWidget
	{
		private var locationText:TextField;
		
		public function LocationPane()
		{
			super();
			//背景
			var LocationBgr:Class = Resource.getClassByName("LocationBgr");
			addChild(new LocationBgr());
			//位置
			locationText = new TextField();
        	locationText.autoSize = TextFieldAutoSize.CENTER;
			locationText.defaultTextFormat = new TextFormat("微软雅黑", 14, 0xFFFFFF);
			locationText.filters = [new GlowFilter(0x000000, 1, 1.3, 1.3, 100, BitmapFilterQuality.HIGH)];
			locationText.selectable = false;
			locationText.x = 100;
			locationText.y = 5;
			locationText.text = "魔塔第一层";
			addChild(locationText);
		}
		
	}
}